<p-table [value]="fields"
  styleClass="p-datatable-sm">
  <ng-template pTemplate="header">
    <tr>
      <th>Name</th>
      <th>Address</th>
      <th>Type</th>
      <th>WaitValue</th>
      <th>Value</th>
    </tr>
  </ng-template>
  <ng-template pTemplate="body"
    let-field>
    <tr class="w-full">
      <td>
        {{field.Name}}
      </td>
      <td>
        {{field.Address}}
      </td>
      <td>
        {{field.Type}}
      </td>
      <td>
        {{field.WaitValue}}
      </td>
      <td>
        {{field.Value}}
      </td>
    </tr>
  </ng-template>
</p-table>